Skip to main content

Daily VOR Messages Export

Introduction

An export that contains information about the messages sent and received for active VORs, including manual VOR enquiries, for a specific day and a specific lease company.

Purpose

Zenith requires an export of VOR messages (sent and received) for active VOR enquiries. This data is used for internal reporting, so the ViSN platform must replicate this export to support Zenith’s existing reporting processes.

File format

Comma Separated Values - *.csv

Records

Col PositionField LabelNotesData TypeMandatory
AVOR IDViSN enquiry numberintegerY
BRegistration NumberVRM of vehicle associated with the VORtextY
CMessage Type IDEnquiry status. E.g. Checked In, In ProgresstextY
DMessage Type TextAuthorisation status. E.g. Authorisation RequestedtextN
EMessage Date/TimeDate timestamp that message was sent or receiveddateY
FCreated ByName of user who sent the (received or sent) messagetextY
GMessage TextContents of sent / received messagetext
max length: 1000
Y
HSite NameName Supplier Site associated with the enquirytext
max length: 250
Y

Setup Required

Database Configuration

This export functionality is available only for customers who have the ‘VOR Messages Export’ toggle enabled in the Export Config.

location: /leasecompany/[leaseCompanyId]/exports/settings
attribute: vorMessagesExportEnabled
value: true

Generate Export

A Scheduler should be created cloud scheduler with the following parameters

  • Name : GenerateDailyVORMessagesExportCSV
  • Description : Daily VOR Message Export Generation
  • Region : europe-west2
  • Frequency : 30 23 * * *
  • TimeZone : Greenwhich Mean Time (GMT)
  • Topic : projects/biddirect-2/topics/generateDailyVORMessagesExport
  • Message body : a JSON object including the following parameters

    • leaseCompanyId : id of the lease company that the export is desired to be generated for
    • dateTimeStamp : in format yyyy-MMM-dd ex 2025-Nov-05 , when skipped it will default to current date
Status: Accepted
Category: Protected
Authored By: Harish on 05 Nov, 2025